package com.snimay.app.entity.repository;

import java.util.List;
import org.springframework.data.jpa.repository.query.Procedure;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import com.snimay.app.entity.vo.Entity;

@Repository
public interface EntityRepository extends CrudRepository<Entity,Long>{
	List<Entity> findByClazz(String clazz);
	
/*
	@Procedure(name = "createClass")
	void createClass(@Param("clazzname") String clazzname);*/
	

	@Procedure(name = "GetItems")
	Object GetItems(@Param("clazznamee") String clazznamee);
}
